<template>
  <div>
    <!-- <img class="imagee_1" referrerpolicy="no-referrer" :src="logo" /> -->
    <img class="imagee_1" referrerpolicy="no-referrer" src="../assets/images/ccrcw.png"/>
  </div>
</template>

<script>
import { mapState } from 'vuex';
export default {
  data() {
    return {
      index_base: [],
      // logo: '',
    };
  },
  computed: {
    ...mapState(["IndexBase"]),
    logo() {
      return this.IndexBase ? this.IndexBase.logo : null;
    },
  },
  async created() {
    await this.$store.dispatch('fetchIndexBase');

    const cachedDataStr = localStorage.getItem("zp_index_base");
    if (cachedDataStr) {
      const cachedData = JSON.parse(cachedDataStr);
      const logo = cachedData.IndexBase.logo
    }
  },
};
</script>

<style scoped>
.imagee_1 {
  width: 305px;
  height: 62px;
  margin: 31px 0 0 0;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
}
</style>computed: {
...mapState(['IndexBase']),
logo() {
return this.IndexBase ? this.IndexBase.logo : null;
},
},